improved detection of HTC devices