fix equality issue