Bugs fixed on dependency tree extractor