Fixed bug in settings error reporting