fixing usability issue after failed form validation