Fix unbalanced bracket