Fix warning on bmcart