modify for select tag
refactoring variable name "attrName"