Fix params error