add final shortcuts back to the document