Fix dep tree