diff --git a/src/Client/ClientPeriod.php b/src/Client/ClientPeriod.php
index <HASH>..<HASH> 100644
--- a/src/Client/ClientPeriod.php
+++ b/src/Client/ClientPeriod.php
@@ -41,7 +41,7 @@ class ClientPeriod implements ClientInterface {
 		$query = $this->db->getQueryBuilder()
 					->select('news')
 					->count('value')
-					->from('sms');
+					->from($this->metrix);
 
 
 		if (!isset($this->tags["service"])) {
remove sms and use dinamic metrix