Moved flush to before reading ops