remove redundant backspace