fix hypertext link generation