fix windows glitches part 1