fix some data change in core data