fix isOracle Method