BF: fixes issue #73 reported by @isadenghien