minor fix for visitor