Read state bug fix