fix for attribute import and caching