webservices.py fix