correct typo in queue code