fixed client so it will read from the one response instead of making another get request