refactor tag index page