Bugfix

fixed bug that opened gui automaticaly