add flush support
add flush support