fix characters bug in saxparser