remove bugs in BDdata