db loading fix