fix documentation of factor_distinct_deg