add flush read buffer