Fix: Flush the buffer of parser.