Fix message type in ModuleMain