Removing windows warnings