date loading fix