fix sate for windows