Bracket error fix