fix some /analyze warnings