remove [] from id