incorrect webservice was being called for All devices