deletes duplicate classes on view