fixed issue#140 json undefined values