checkout and clean