error class on input