Fix a bug of parser