fixed doc saver