update sax parser

i fix some bugs.