cleanup COF