fixing issue with links