improve autosave problem handling