renamed BnfiTermType to BnfiTermRecord