fixed typo in hazards.rb