update gemspec and fix typo in controller