Fix medit auto_save