fixed manually flush order