fix some badly-named parameters