correct the Bug about length
Merge pull request #199 from Sue-Yi-FAN/master

correct the Bug in Parser.js