diff --git a/cb.usergroupsfield.php b/cb.usergroupsfield.php
index af442a209b9dcd61c8d89f7de2a27b6eb61a5b41..1a118fba8c200a028f529a4e1cc946eb86a91b70 100644
--- a/cb.usergroupsfield.php
+++ b/cb.usergroupsfield.php
@@ -3,7 +3,7 @@
 * Joomla Community Builder 2.x User groups Field Type Plugin: plug_cbusergroupsfield
 * Lets the administrator change the user's joomla groups in the CB profile in the FE.
 * Based on the CBfield_userparams class of the cb.core.php plugin, copyright (C) Beat, JoomlaJoe, www.joomlapolis.com and various
-* @version $Id$
+* @version 2.0.1
 * @package plug_cbusergroupsfield
 * @subpackage cb.usergroupsfield.php
 * @author Reinhold Kainhofer, Open Tools
@@ -131,7 +131,7 @@ class CBfield_usergroups extends cbFieldHandler {
 			// This is from CB\Database\Table\UserTable::afterBindFromDatabase,
 			// which is documented as WIP and not adviced to be called directly,
 			// so we duplicate the code here...
-			$gids			=	array_values( (array) \JFactory::getAcl()->getGroupsByUser( $this->id, false ) );
+			$gids			=	array_values( (array) \JFactory::getAcl()->getGroupsByUser( $user->id, false ) );
 			foreach ( $gids as $k => $v ) {
 				$gids[$k]	=	(string) $v;
 			}
diff --git a/releases/plug_opentools_cb2_usergroupsfield_v2.0.1.zip b/releases/plug_opentools_cb2_usergroupsfield_v2.0.1.zip
index 295e4d606f7fb2248dbb39948a80cf0e72fd43e5..400284f5e73985601d775c4a9e66f5f5a02f7880 100644
Binary files a/releases/plug_opentools_cb2_usergroupsfield_v2.0.1.zip and b/releases/plug_opentools_cb2_usergroupsfield_v2.0.1.zip differ