tm_in --> std tm_out (dbg_export)
Missing `&` in edit_tuples()