fix empty json response