partial fix for check in windows