http server bug fix