fixing link addresses