fixed bug in bond builder template