HTTP adapter bugfix