Fix a possible error with links