fix Block.java