Bug fix

Fixed the bug that made the windows client not work