switch to the correct way to exclude windows