I want to how to use Persist Query client as i was getting 500 error when i wrap with persistQuery client