fix .jar allocation