Fix missing closing parentheses/bracket