sql data loading fix