support old wallet data