fixed np.log error in dependency finding