fix priorityQuee iteration removal