fixed more windows warnings