fix bug echo