Bug fix for concatenate()