patched QuarkModel