add autosave before make