use 1.8 hash syntax

For ruby 1.8.* compatibility