fix some incorrect uses of alloc_tuple_uninit (memory bug)