fix settings reset error