fixed bf error