fix bug,  delete the wrong bracket