fixed save setting issue