make index show pages