corrected error in getInfoFromHq