fix a bug in domain-server and ping timing