Fix compare fail