Remove stray bracket from string