Fix TotalMessages