fixing response body lenght bug