fixed AHF reader