patched QuarkClient