fixed applet loading