let the msg formate by ioChannel