some small windows fixes