add bd again after error