core data fix

fixed core data entities