delete profiles
delete ViewMode class and some unuser methods