- fix to make saving and loading  a document more consistent with itself