modify some java files