debug when popping from a queue