deal with Contents/Java/Classes issue