diff --git a/properties_template/properties_template.module b/properties_template/properties_template.module
old mode 100644
new mode 100755
index ab21a93..fe0f1f9
--- a/properties_template/properties_template.module
+++ b/properties_template/properties_template.module
@@ -216,7 +216,7 @@ function properties_template_field_attach_form($entity_type, $entity, &$form, &$
         list($entity_id, , ) = entity_extract_ids($entity_type, $entity);
         $query = array('entity_type' => $entity_type, 'entity_id' => $entity_id, 'field_name' => $field_name);
 
-        $nodeId = $form['nid']['#value'];
+        //$nodeId = $form['nid']['#value'];
         // should create such a query object ?enity_type=node&entity_id=78
         $link = 'admin/config/content/properties/templates/add/';
         $element['template'] = array(
