remove extra echoes