Fix bracket escaping.