fix bug in praser.