clean detection for WIN32