fix window 7 issue