Invalid id (0) returned for "rems".