fixed PeekMessage