fixes for Visit endpoints