bad json response fixed