Fixed HttpServer when debug is false