fixing up saving doc