Remove unnecessary classes for alert