fixed savings page issue with writing before doc command