attempting to link a document