controller syntax error resolved