corrected bug one applet