fixed g_ci being wrong