Add missing end parens