ordering task finish
merge and restore