fix for duplicating certs