Fixed a bug on save parameters.