fixing equals methode.