* added protection to MsgWrapper