diff --git a/layout-switcher b/layout-switcher
index 154f544..0cb9a35 100644
--- a/layout-switcher
+++ b/layout-switcher
@@ -22,7 +22,7 @@ disable-top-bar-integration() {
     # Disable global menus
     ! pacman -Qq vala-panel-appmenu-registrar ||
         zensu SKIP_AUTOSNAP= pacman -R --noconfirm vala-panel-appmenu-registrar ||
-        { notify-send 'Error' 'Failed installing vala-panel-appmenu-registrar !\nmake sure that you typed the password correctly or that you are not currently installing or updating your system'; exit; }
+        { notify-send 'Error' 'Failed removing vala-panel-appmenu-registrar !\nmake sure that you typed the password correctly or that you are not currently installing or updating your system'; exit; }
     pacman -Qq vala-panel-appmenu-registrar && exit
     killall appmenu-registrar