fixed typo in hazard.rb