fixed a bug in R.java file.