Fixed some  problems to WindowsClient