reverted a condition to for checking inconsistent fields