make links work on stats pages