Cert bugfix