fixed save callback.