develop
diff --git a/heka/files/input/amqp.toml b/heka/files/input/amqp.toml
index 1800a71..bb722bf 100644
--- a/heka/files/input/amqp.toml
+++ b/heka/files/input/amqp.toml
@@ -16,13 +16,13 @@
 queue_auto_delete = {{ values.queue_auto_delete }}
 {%- endif -%}
 
-{% if values.queue is defined %}
+{%- if values.queue is defined -%}
 queue = "{{ values.queue }}"
-{% endif %}
+{%- endif -%}
 
-{% if values.routing_key is defined %}
+{%- if values.routing_key is defined -%}
 routing_key = "{{ values.routing_key }}"
-{% endif %}
+{%- endif -%}
 
 decoder = "{{ values.decoder }}"
 splitter = "{{ values.splitter }}"