fix harvesting of attributes