fixing code in keyword.rb