fixbug turn state