fix a bug to access link