fixed backspacing at end of line