fix fetching from Oracle if local copy fails