small windows deployment fixes