readAttribute

readAttribute completed & bug fix