fix when deamon mode can not echo