fixed "duplicate core data" issue