replace filter by simpler scan