fix backspace after completion problem