fix set and data read conflict