cleanup properly calls checkin