Fix Index.java in release v1.;