fixed parse error in controller