bug fix : Segmentation fault happens when znode value is null