fix bomb flag bug