correct hash syntax to be 1.8.7 compatable