Whoops - use the right variable in visit(); fixes edit refresh bug
Remove debug log statement