inlined flush_type
fixes #25