remove backspace char from generated xml