array replace finish