Fix issue of dependency tracking not work, remove refresh function