remove equal check