remove brackets from optional arg