cleaning on class animation