fix controller scaffolding