Certgen fix