fixing ModelGenerator + ControllerGenerator