changes tie_param to tie_params