prevent total events heading showing if no total loaded