fix variable declaration of useClientHostHeader