add flush final output support