had error in queue's peek()'