removed echo at wrong position