fixing bad params call