Correcting dequeue