fix certs hard coding fail