modify folding settings