fixing knife.rb