add link not found error handling