fixing and building models and controllers