buffer fragment cleanup