Small fix for link generation