modify the java code about site