diff --git a/profile2.module b/profile2.module
index b34bca8..22764da 100644
--- a/profile2.module
+++ b/profile2.module
@@ -348,14 +348,14 @@ function profile2_form_user_register_form_alter(&$form, &$form_state) {
       if (empty($form_state['profiles'][$type_name])) {
         $form_state['profiles'][$type_name] = profile_create(array('type' => $type_name));
       }
-      profile2_attach_form($form, $form_state);
       // Wrap each profile form in a fieldset.
-      $form['profile_' . $type_name] += array(
+      $form['profile_' . $type_name] = array(
         '#type' => 'fieldset',
         '#title' => check_plain($profile_type->label),
       );
     }
   }
+  profile2_attach_form($form, $form_state);
 }
 
 /**
