Fixed response decoding issue