some changes for HTC