fix the json file