fix backward compatibility with older applets