Fix bracket escaping