partial fix controllers.js