enable using attribute to specifying label