fix settings class not detecting errors