deleted max priority queue after moving it