clean hsr.java