commit 11 : removed bug from dequeue