fix curly bracket