fix #8162 adapt terms to new package structure in TaxEditor
fix NPE bug and termloading bug for Usage Records #4247