Fix a param save issue where a state variable might preven the parameters from being saved (identified and fixed by ultrasystem)