fix the bug of unable to generate the link correctly