fixed save_resume