replace "]" with ""