Fix bug on BDN export

Issue : #47 BDN export not correct

Signed-off-by: juiice <decaen.julien@gmail.com>