fixed issue where the web api was being called twice for the same call