fixed parsing json config

fixed variable name