Fix windows scan