Fix to HTC device