Fix model, view, and template