minor bug, forgot to dequeue