diff --git a/web/sites/all/modules/content_profile/modules/content_profile_registration.module b/web/sites/all/modules/content_profile/modules/content_profile_registration.module
index 985284f..2f13bbd 100644
--- a/web/sites/all/modules/content_profile/modules/content_profile_registration.module
+++ b/web/sites/all/modules/content_profile/modules/content_profile_registration.module
@@ -85,7 +85,7 @@ function _content_profile_registration_get_field_select($type) {
     }
   }
   $return['other'] = t('Other form elements (except for required CCK fields)');
-  
+
   return $return;
 }
 
@@ -146,12 +146,12 @@ function content_profile_registration_add_profile_form($type, &$form, &$form_sta
       unset($form_add[$field_name]);
     }
   }
-  
+
   // Add in the new form elements into $form.
   $form += array('#field_info' => array());
   $form['#field_info'] += $node_form['#field_info'];
   $form += $form_add;
-  
+
   // Add in further callbacks needed, if not yet done.
   if (!isset($form['#content_profile_weights'])) {
     $form['#submit'][] = 'content_profile_registration_user_register_submit';
@@ -187,9 +187,12 @@ function content_profile_registration_alter_weights($elements) {
  * Validates the user registration form
  */
 function content_profile_registration_user_register_validate($form, &$form_state) {
+  global $user;
   foreach (content_profile_get_types('names', (arg(0) == 'admin' ? 'admin_user_create_use' : 'registration_use')) as $type => $typename) {
     $node = (object)$form_state['values'];
     $node->type = $type;
+    unset($node->name);
+    unset($node->uid);
 
     if (!in_array('other', content_profile_get_settings($type, 'registration_hide'))) {
       node_validate($node);
