fix renaming of parameters