validate input again on user submit