diff --git a/back/pialert.py b/back/pialert.py
index a72d3716..62cc3921 100755
--- a/back/pialert.py
+++ b/back/pialert.py
@@ -711,7 +711,7 @@ def main ():
# Check if new devices need to be scanned with Nmap
if NMAP_ACTIVE:
- sql.execute ("""SELECT eve_IP as dev_LastIP, eve_MAC as dev_MACq FROM Events_Devices
+ sql.execute ("""SELECT eve_IP as dev_LastIP, eve_MAC as dev_MAC FROM Events_Devices
WHERE eve_PendingAlertEmail = 1
AND eve_EventType = 'New Device'
ORDER BY eve_DateTime""")
diff --git a/front/php/templates/language/en_us.php b/front/php/templates/language/en_us.php
index e37412aa..9fc0931e 100755
--- a/front/php/templates/language/en_us.php
+++ b/front/php/templates/language/en_us.php
@@ -574,7 +574,7 @@ the arp-scan will take hours to complete instead of seconds.
// Nmap
'NMAP_ACTIVE_name' => 'Cycle run',
-'NMAP_ACTIVE_description' => 'If enabled this will execute the scan every time a new device is found on the network. For a scheduled or one-off scan, check the NMAP_RUN setting.',
+'NMAP_ACTIVE_description' => 'If enabled this will execute a scan on a newly found device. For a scheduled or one-off scan, check the NMAP_RUN setting.',
'NMAP_TIMEOUT_name' => 'Run timeout',
'NMAP_TIMEOUT_description' => 'Maximum time to wait for an Nmap scan to finish on any device.',
'NMAP_RUN_name' => 'Scheduled run',