Semiconductor device defects