bugfix searching ids in static mode