Fix bracket locations