fix state bug
sldkhfal