fix #23366: Capital after colon

plus some more
fix compiler error