move the refcnt setting into ENQUEUE