added pagination anchor rule