fix page indexing in topics, fix phantom 3rd page issue