diff --git a/le-proinfodata/package/DEBIAN/control b/le-proinfodata/package/DEBIAN/control
index 6f921e7427c873b7583fed91584632f5014be5d4..f79ca15216d8b41d844db73119c96ad61d1ea1b3 100644
--- a/le-proinfodata/package/DEBIAN/control
+++ b/le-proinfodata/package/DEBIAN/control
@@ -1,5 +1,5 @@
 Package: le-proinfodata
-Version: 1.2.36
+Version: 1.2.37
 Maintainer: <proinfodata@c3sl.ufpr.br>
 Architecture: i386
 Section: main
diff --git a/le-proinfodata/package/usr/local/bin/exec_dialog.sh b/le-proinfodata/package/usr/local/bin/exec_dialog.sh
index 6269f41f7244059d6ede1808ec83e6d223ef25d5..374d1c91c90c55452cb66ab741b2ff8d4501f257 100755
--- a/le-proinfodata/package/usr/local/bin/exec_dialog.sh
+++ b/le-proinfodata/package/usr/local/bin/exec_dialog.sh
@@ -52,17 +52,25 @@ function disable_gnome() {
     local P_EDUBAR_POS=""
     local P_GPANEL=""
 
-    while [[ -z "$P_EDUBAR" ]] || [[ -z "$P_GPANEL" ]] || [[ -z "$P_EDUBAR_POS" ]]; do
+    while true; do
         # Get PID
-        P_EDUBAR_POS=$(ps aux | grep "le-edubar_position.sh" | awk '{print $2}')
-        P_EDUBAR=$(pgrep le-edubar)
+        P_EDUBAR_POS="$(ps aux | grep "le-edubar_position.sh" | grep -v "grep" \
+                       | awk '{print $2}')"
         P_GPANEL=$(pgrep gnome-panel)
-        sleep 1
+        P_EDUBAR=$(pgrep -f "le-edubar -c")
+
+        if [[ -z "$P_GPANEL" ]] ||
+           [[ -z "$P_EDUBAR_POS" ]] ||
+           [[ -z "$P_EDUBAR" ]]; then
+            sleep 1
+        else
+            break
+        fi
     done
 
     # Disable Edubar and Panel
-    kill $P_EDUBAR
     kill -stop $P_EDUBAR_POS $P_GPANEL
+    kill $P_EDUBAR
 }
 
 # Enable user interaction with gnome panel
@@ -99,8 +107,7 @@ if dpkg --get-selections "ubiquity-le" | grep -q 'install$' ||
     exit 0
 fi
 # --------------------------------------------------------------------
-# Delay for not happen overlay window
-sleep 3
+
 # Check whether the computer is running on a the multiterminal
 if dpkg --get-selections "le-multiterminal" | grep -q 'install$'; then
     # In the first call (lightdm) in multiterminal this is script must leave, to be called again after.