Fixed bug that causes cumulative concatenation