filter to reduce visited pages