#786 Fixed Windows bug