Fix win message issue