some more adjustments to the http module