Fix bug in setup_webservices