fix #21452
Merge pull request #499 from lvinken/21452-incorrect-brace

fix #21452