fix JAR generation