fix CoreData import error