fixed map unpacking after disconnection