fixed params typo in controller