some sketchy stuff for localized attributes