fix issues with links