clean up enqueue