fixed situation where network call was not async