Minor adjustment in Controller.js