Fix error dequeue