Fix `concat` function