fixed total message counter!