Fix bracket and formatting