Fix wrongly named parameters