fix applet error