fix http server issue