PIE.HTC fix