fixed issue with displaying an empty queue