bugfix to ensure pickleability optimization results