Spiral: Fixed a bug related to saving and loading

Fixed a bug related to saving and loading