fixed bugs in hazards.rb and updated migration for Hazmat