Fixed oredict crash