Fixed tg_load() handle