smarter handling of deps in travsi