cannot restore geomery/state if no saved, fix #6