Correction removing added class on clear