fix applet loading