SMT defects causes and prevention