correct bugs in MsgType.h