finish the first insert for detailstargets