fix hook hdinfo statement