remove unneeded equals