fixes bad hash key