fix some unused read accesses