fix incorrect Be_field check in PairEnergy