fixed try statements for config settings.