fixed map serialization

gogogo