fixed the winstates.