changed hash syntax to 1.9