fix concatenation of remote arrays