fixed bug metadataGUI.sh