rsmshared merge error

Fixed final concat function.