Fix bug when setting the subparameter value