correcting link format