rewrite label.java