fixing gem 1