fix create hash