get rid of irrelevant differences