Fix: adding slot rather than GUID to sql