TextOfCertificate fix