Closing bracket bug