monkey patching an override so to support cross-origin restriction