fix decoding private data.