stripped model and controller to get proper error messages