fixing typo in controller