check mQueue.size() before call mQueue.peek()