middle of fix for adding activities to visits