finish metadata work