reimpl tstream_save_gg
reimpl tstream