fixed double glance api setup