fixed syncronization code
One window state