corrected bad values from passed in config