fixed invalid () in controller