removed unused check in equality
release