minor autosave bug fix