remove right bracket