fix max heap bug add queue