Fixed core data helper problem