remove square bracket