fix hit.java with the correct encoding