handle tags with pages