minor http bug fix