Fix error in webservices