allow enqueueing at a specific position and other fixes