fix a bug for disabled,checked ,selected and so on of attr