remove useless equals