Freeze fix for Windows