refine excluded_params method