fix isEqual