fix restoring folding(on same tab loadin)