fix Pack.java