fix a bug: -addindex with -jaxpmodule

the small mistake.