Fixed issue with config parsing