fix closing %]