only enabled elements are selected
fixed rendering of enabled attribute