fixed bug with bdgConfig