fix http server problem