added smart backspace