latent vs patent defect