fix page data to correctly link CSV files after displaying one