fixed the json post