cert loading fix