Trying to fix a bug with links