fix BondSM class redefinition warning