minor fix java scripting plugin framework