fix in json parsing