fix Coredata  DATE and EVENT