tweaks to autosave