changing hash syntax so we can use with Ruby 1.8.7
fix for Ruby 1.8.7