Off-by-one error in getting response.