fix equals