some hash fixes