folding should not be applied when there is only one line, simplify code