fixed validation UI issue