code adaptation to structure change in import data