remove echo function