diff --git a/node_convert.module b/node_convert.module
index 4be599d..142888e 100755
--- a/node_convert.module
+++ b/node_convert.module
@@ -547,7 +547,7 @@ function node_convert_convert_action(&$node, &$context = array()) {
   }
 
   if ($node->type != $template['source_type']) {
-    drupal_set_message(t("Node %nid doesn't match the template source type. Discarded.", array('nid' => $node->nid)), 'warning');
+    drupal_set_message(t("Node %nid doesn't match the template source type. Discarded.", array('%nid' => $node->nid)), 'warning');
   }
   else {
     $result = node_convert_node_convert($node->nid, $template['destination_type'], $template['data']['fields']['source'], $template['data']['fields']['destination'], $template['data']['no_fields'], $template['data']['hook_options']);
@@ -1053,7 +1053,7 @@ function node_convert_convert_nodes_using_template($nodes, $template_id) {
     $node = node_load($nid);
     // The source type of the given node doesn't match the template one, so we discard it with a message
     if ($node->type != $template['source_type']) {
-      drupal_set_message(t("Node %nid doesn't match the template source type. Discarded.", array('nid' => $node->nid)), 'warning');
+      drupal_set_message(t("Node %nid doesn't match the template source type. Discarded.", array('%nid' => $node->nid)), 'warning');
     }
     else {
       $result = node_convert_node_convert($node->nid, $template['destination_type'], $template['data']['fields']['source'], $template['data']['fields']['destination'], $template['data']['no_fields'], $template['data']['hook_options']);
