Fixed bug in CreateHIT