fix data map serialization bug