On the front side 200 of the substrate 20 around the chip bonding region 202 there are formed a plurality of flash preventing mechanisms 23 corresponding in position to front ends of air vents of a mold (not shown), while the flash preventing mechanisms 23 can be blocks made of an adhesive, passive elements such as capacitors, resisters or other electronic elements, or a plurality of solder balls