fix for certs