fixed bug when given specific static bom