fix the equals