remove brackets from cutext output