Fix bug with links