bond: check null before use