Add missing closing brackets