g_sorcery: fixes