fix settings error