resolving fetch issues

resolving timing issues with getting json