solve g_tk thing