fixed heap comparer in remove method