fix error of BF