delete service class