fix re-queue bug