Remove brackets from variable