solved problem with second running applet