modify the top on dependency