solves crash that happens when we import data