fixed undefined save_path