fixed view_type_P nil on no settings bug