fix #24, simply adjust max flush count