Fixed issue with merging parameters