fixed bug in get_params method of comp_model