fixed validation rule and labesl