resource readout fix