fixed jsonpath NPE issue