finish register by ID