--- fserver_plugin_style_updatexml.inc	2012-02-09 14:34:29.570854632 +0100
+++ fserver_plugin_style_updatexml.inc	2012-02-09 14:33:59.826854679 +0100
@@ -95,6 +95,8 @@
         }
       }
     }
+
+
     // @TODO: need to correct the api version in project tag, if we have multiple api versions
     // we need the key "all" instead of 5.x / 6.x / 7.x /...
 
@@ -120,17 +122,27 @@
 
     foreach ($vars['rows'] as $num => $row) {
       foreach ($vars['options']['release'] as $element => $field) {
+
         $alias = $fields[$field]->field_alias;
+
+
         if (isset($row->{$alias})) {
+	    
           switch ($element) {
             // Don't mess with certain fields, period.
             case 'recommended':
             case 'security':
             case 'version_major':
-            case 'version_patch':
-            case 'version_extra':
-              $releases[$num][$element] = check_plain($row->{$alias});
+
+  
+              $releases[$num][$element] = check_plain($row->_field_data['nid']['entity']->{$field}['und'][$num]['value']);
               break;
+          case 'version_extra':
+	      $releases[$num][$element] = check_plain($row->_field_data['nid']['entity']->field_fserver_versionextranum['und'][$num]['value']);
+	      break;
+	  case 'version_patch':
+	      $releases[$num][$element] = check_plain($row->_field_data['nid']['entity']->field_fserver_versionpatch['und'][$num]['value']);
+	      break;
             default:
               $releases[$num][$element] = $fields[$field]->theme($row);
               break;
@@ -146,6 +158,7 @@
         $multiple_api_versions[$releases[$num]['api_version']] = $releases[$num]['api_version'];
       }
 
+
       if ($releases[$num]['recommended']) {
         // Use the first major version for the project major.
         // The list is sorted by "major desc", this way the latest branch will be
