db fix for glance