fix the bug: some line are not visiable after some fold/unfold