diff --git a/binary/mac_x64/test.sh b/binary/mac_x64/test.sh
index dbd89ed1..60f63478 100755
--- a/binary/mac_x64/test.sh
+++ b/binary/mac_x64/test.sh
@@ -1,10 +1,10 @@
-./mini_jvm -Xdebug -bootclasspath ../lib/minijvm_rt.jar -cp ../libex/glfw_gui.jar:../libex/xgui.jar org.mini.glfw.GlfwMain
+$(dirname $0)/mini_jvm -Xdebug -bootclasspath $(dirname $0)/../lib/minijvm_rt.jar -cp $(dirname $0)/../libex/glfw_gui.jar:$(dirname $0)/../libex/xgui.jar org.mini.glfw.GlfwMain
-./mini_jvm -bootclasspath ../lib/minijvm_rt.jar -cp ../libex/minijvm_test.jar test.Foo3
+$(dirname $0)/mini_jvm -bootclasspath $(dirname $0)/../lib/minijvm_rt.jar -cp $(dirname $0)/../libex/minijvm_test.jar test.Foo3
#./mini_jvm -bootclasspath ../lib/minijvm_rt.jar -cp ../libex/janino.jar:../libex/commons-compiler.jar #org.codehaus.janino.Compiler ../res/BpDeepTest.java
-echo execute BpDeepTest
+#echo execute BpDeepTest
#./mini_jvm -bootclasspath ../lib/minijvm_rt.jar -cp ../res/ BpDeepTest
#./mini_jvm -bootclasspath ../lib/minijvm_rt.jar -cp ../libex/luaj.jar Sample
diff --git a/extlib/xgui/pom.xml b/extlib/xgui/pom.xml
index 21aed672..3ccaa403 100755
--- a/extlib/xgui/pom.xml
+++ b/extlib/xgui/pom.xml
@@ -9,7 +9,7 @@
io.github.digitalgust
xgui
${project.groupId}:${project.artifactId}
- 1.1.9
+ 1.1.10
miniJVM mobile platform gui library
https://github.com/digitalgust/miniJVM
diff --git a/extlib/xgui/src/main/java/org/mini/media/engine/MaEngine.java b/extlib/xgui/src/main/java/org/mini/media/engine/MaEngine.java
index 65ef4ab1..8ca11d6a 100644
--- a/extlib/xgui/src/main/java/org/mini/media/engine/MaEngine.java
+++ b/extlib/xgui/src/main/java/org/mini/media/engine/MaEngine.java
@@ -76,7 +76,7 @@ public float getVolume() {
public void finalize() {
System.out.println("clean " + this + " " + handle);
MiniAudio.ma_engine_uninit(handle);
- MaDevice.removeDevice(handle);
+ MaDevice.removeDevice(device);
handle = 0;
}