diff --git a/html/pages/device/apps/powerdns.inc.php b/html/pages/device/apps/powerdns.inc.php
index c1d93e0dd7..c9f2985893 100644
--- a/html/pages/device/apps/powerdns.inc.php
+++ b/html/pages/device/apps/powerdns.inc.php
@@ -10,8 +10,9 @@ $graphs = array('powerdns_latency' => 'Latency',
'powerdns_queries' => 'Total UDP/TCP Queries and Answers',
'powerdns_queries_udp' => 'Detail UDP IPv4/IPv6 Queries and Answers');
-foreach ($graphs as $key => $text) {
- $graph_type = $key;
+foreach ($graphs as $key => $text)
+{
+ $graph_type = $key;
$graph_array['height'] = "100";
$graph_array['width'] = "215";
$graph_array['to'] = $now;
diff --git a/html/pages/device/edit/apps.inc.php b/html/pages/device/edit/apps.inc.php
index f92cd4bd5d..7807b2b481 100644
--- a/html/pages/device/edit/apps.inc.php
+++ b/html/pages/device/edit/apps.inc.php
@@ -22,7 +22,6 @@ if ($_POST['device'])
{
if (substr($key,0,4) == 'app_')
{
- echo($key);
$param[] = substr($key,4);
$enabled[] = substr($key,4);
$replace[] = "?";