webservice cleanup