some applet and dataengine fixes