slight fix for visitAll