finish concat substring
merge with remote