Improved Config to catch invalid values and reset those