corrected merging of parameters