removed typos in sample code Core Data