BUGFIX: error creating user group tables