add folding setting