clean old patterns.