Fixed style position method.
Add selectedIndex for attrMap.