fix bug: cli during msg_receive