Fix Bug : Bad implementation of graph dependency.