feature(main) mrequire: add formatMsg