sorted out issues with links