remove trailing semicolon from all conditional functions