eq class for anode
Fix equality class.