Fixed backspace when string length was 0