dequeueing fix