fix critical httpserverServer bug