change hash for old style