unsaved pages fixes