fixed dequeue again