commit before generating a controller