fix syntax in bd