delete echo and border