remove coredata reference.