fixing issue with fetchedresultsController bad access.