fixed bd error