Fix startup bug of clients.