Fix bug in visiting services.