fixed duplicate 'undoPageCollapseFix' call bug