regenerate old hash