bug fix for `disabled` and `hidden` options

bug fix for `disabled` and `hidden` options