fixing CCDom.java and CCOptionbox.java