bugfix to bdd loading