make jars work for packaging