normalize equalities

tests all still pass