minor bug with links