backspace serial code fix