change hash style to 1.9 syntax