changed to get data from history page instead of main page