cleaning buffer on flush