How can i prevent error message cause my form field shifted?