Fixed problem with winmessage