fixed up windows stuff