fix certs dir