fixed connect tuple insertion