Fixed comphep gen