cap config cleanup