bf minimizer fixed