change route for term to pkg/term