likely_write cleanup