fixes $term_id typo