remove error class on click