freezing when autosaving fix