Fix a bug in dependency link