remove max, min predicates