fixed windows checking