fix the different of java source and target name