remove package from tree