fix dep tree