state bug