remove curly brackets from urls