remove unused classes fix animation