corrected latent version also