Fix local variable usage in ba_configure()