fix in hash saving.