minor changes in bom.go