fixed loading of data when called from a different working path