bug fix - local api changed to web api