fixed various warnings from the “doc” and other builders