Fix missing input value when storing and loading procedure