fix windows warnings