correct typos, coding, and other inspection warnings