fix win state