removed redundant echo instructions