fixed equality operator