minor bug fix on links