removing windows warnings