correct loading of data