modify backspace and tags