fixed Core Data model relationship error