fix minor bug on JAR version