--- profile.inc	2007-06-12 20:53:01.000000000 -0400
+++ profile.inc	2007-06-26 11:31:45.000000000 -0400
@@ -195,7 +195,7 @@ function mysite_type_profile_form_items(
           $current[$v['name']] = $v['name'];
         }      
       }
-      $form[$key]= array(
+      $form[urlencode($key)]= array(
         '#type' => 'checkboxes',
         '#title' => $key,
         '#value' => $current,
