fix wait notify for Applet version