fix another bug on bdf3