corrected loading of data