fixed infinite __eq__ loop