Fix win8 issue