[Fix-bug] Using peerID attribute instead of wrong sessionID