cleaned up viewtypesettings