Changed the core data db structure; fixed the crash
conflict resolved