small windows fixes