fix null pointer for non parsed json config