minor bug with config object catching