fixed WM_CHAR and destructos