remove errorneous brackets from data series