fixed an issue with links