fix win warnings