refactor(getTargetedDoc) put function to get target document object in utils, and use it where needed