minor fixe on window's message