added error style for input