buffer clear order