fixed attributes.java file