fix problems with importing data