Remove unused chars in controller and view