fix model type name for views