a few more scrutinizer fixes for minor alerts.