fixed next_params