Fix issue in core data related to a bad type for id
Merge pull request #4 from andyhq04/b_coreData

Fix issue in core data related to a bad type for id