diff --git a/uw_cfg_common.module b/uw_cfg_common.module
index 375038748c4c67ccba3bf6a2344625a4127929a1..476a7f0fd6b687c71e4cd882121a73630e547049 100644
--- a/uw_cfg_common.module
+++ b/uw_cfg_common.module
@@ -146,8 +146,9 @@ function uw_cfg_common_toolbar_alter(&$items) {
   // Get the current user.
   $current_user = \Drupal::currentUser();
 
+  $user_id = $current_user->id();
   // Ensure that the current user is not user1.
-  if ($current_user->id() !== 1) {
+  if ($current_user->id() !== '1') {
 
     // Get the roles of the user.
     $roles = $current_user->getRoles();