fix some windows stuff