Fix error with params