add indexes to help performance of stats page