fix equality operator