Removing classes in before