Fix bug in import data