sum cleanup