fix the issue that md5 hash can't reused