classes fix
diff --git a/salt/files/minion.conf b/salt/files/minion.conf
index 2f21e88..54d4943 100644
--- a/salt/files/minion.conf
+++ b/salt/files/minion.conf
@@ -26,7 +26,7 @@
   {%- if minion.get('manage_roles', True) %}
   roles:
   {%- for key, value in pillar.items() %}
-  {%- if key != 'master' and key != 'system' and key != 'public_keys' and key != 'private_keys' and key != 'known_hosts' and key != '__reclass__'  and key != '_secret' %}
+  {%- if key != 'master' and key != 'system' and key != 'public_keys' and key != 'private_keys' and key != 'known_hosts' and key != '__reclass__'  and key != '_secret' and key != '_param' %}
   {%- for subkey, subvalue in value.iteritems() %}
   {%- if subvalue.enabled is defined %}
   {%- if subvalue.enabled %}
@@ -38,8 +38,10 @@
   {%- endfor %}
   {%- endif %}
   services:
-  {%- for key in pillar.__reclass__.applications %}
+  {%- for key, value in pillar.items() %}
+  {%- if key != 'master' and key != 'system' and key != 'public_keys' and key != 'private_keys' and key != 'known_hosts' and key != '__reclass__'  and key != '_secret' and key != '_param' %}
   - {{key}}
+  {%- endif %}
   {%- endfor %}
 
 grains_dirs: