Remove autosave file
Fixed some bugs