fixed issue with json data format