bug fix for bond initialization