another fix for gathering