Fields are not showing when certain condition is match