fixed save error