change old syntax into new Ruby 1.9 hash syntax