avoid referencing document context from copying context, if document context is no longer relevant