fix checking win 8