fix glance endpoint