fix warnings (Windows