fix modelsAndViews