diff --git a/src/sites/all/modules/user_import/supported/profile.inc b/src/sites/all/modules/user_import/supported/profile.inc
index fdd50fd..a02c4aa 100644
--- a/src/sites/all/modules/user_import/supported/profile.inc
+++ b/src/sites/all/modules/user_import/supported/profile.inc
@@ -55,6 +55,21 @@ function profile_user_import_save_profile($field, $uid, $value, $updated, $updat
   // when the profile field is displayed on the registration form an empty value is automatically saved by the Profile module
   $exists = db_result(db_query("SELECT value FROM {profile_values} WHERE fid = %d AND uid = %d LIMIT 1", $field->fid, $uid));
 
+  if ($field->type == 'selection' && module_exists('profile_checkboxes')) {
+    $checkboxesType = db_result(db_query("SELECT type FROM {profile_checkboxes} WHERE fid = %d", $field->fid));
+
+    if ($checkboxesType == "checkboxes") {
+        function trim_value(&$value) { 
+            $value = trim($value); 
+        }
+
+        $arr = explode(",", $value);
+        array_walk($arr, "trim_value");
+        
+        $value = serialize($arr);
+    }
+  }
+  
   if ($updated) { 
  
     switch ($update_setting) {
