fixeg get_term when there is no term layer