remove duplicate echo