finish the data process